WSOTWO-132: Added unit tests for view classes