modified gaps* and the tests : added == and != operators