Testing Views

added tests for views