Assert all members instead of first

Makes this test more consistent since the results could be in
different order each query, resulting in intermittent failures.
require -> require_relative for tests

Makes it easier to run tests individually.