Adding utilities for testing