fixed 'smaller_than' function in version test.