removed redundant try..except
unit test for contextual views