Useful tools for testing