added test for stock type query methods