added views and view tests