Added tests related to filter_controller
(cherry picked from commit 5b1964d4245ed60e7b55ff873058270be672876f)
removed white spaces
Made the asserts clearer based on the suggestions provided inPR 1713
Moved the base tests to fixtures instead of FactoryGirl as recommended
Fixed the repository sets controller test
Aligned the values in the yml to match other ymls
Switch assert equals ordering as suggested int he PR comments
Merge pull request #1713 from parthaa/filter-test2

Added tests related to filter_controller