add new tests for view