tests for Hatchery lib