controller test with moq added