fix leap test