Added utilities for testing