passing  tests added ClassRegistry