Add tests for helpers

@hodgestar I am actually testing that `BaseComponent` generates an `id` if one is not supplied.