Basic tests for view classes