migrate test to tap