Add helpers_test

Part of #601

@scottpurdy