Added less than operator and cleaned up tests.