finish first controller test with fixed bug