added some controller specs
added controller tests