Moved tap tests to tap_test.go file.