more useful return values when testing