Added tests for archetype