Controller test
Fix compare test bug