Creating structure with tests