added more tests to controller specs