Move tests/ to test/ and incorporate TAP