Add @safe to cycle unittests except for cycle(staticarray)