Add file for view mode unit tests.