ticket:1 several tests for main view