first unit test for mainview