changes to controller test