add test for mvc