test for valid view options