Add some tests for the helper register.