Add integration spec for byQueryString method. Refs #50