adding built-in test helper functionality