changed query test to make up for latest changes, need to write relationship tests now