Little helpers for testing