added views unit testing