What solved the issue?

Renaming common.go to common_test.go resolved the issue. The error message was however not clear. As should it be possible to have both normal Go files and _test Go files with the same package name (as with any normal package that does not end in _test).