implement controller test for features