adding tests for handler.enable and handler.disable methods