Add more tests for modal view