fix old unit tests
added some controller specs