testing the mvc framework