added tests for select models and views