Added modulo operator tests to integration tests.
Added more tests to closure_class.gear test.