test for int quantities.