migrate test to tap

migrated the first test to tap, @isaacs