Added units tests for archive models