Add a test for the filter builder and beautify the UI.