Micro helper for testing in Go