add the method test_isempty