found some existing unit tests and moved them to a corresponding structure; added a simple example test to generator_spec