Adding a test to query on Super class column