added test for getWhere exception on multiple results