add tests for get method of views class