added a test utility