answers controller refactor but test are not working