add controller test to spring testing