added specs for querying views