Added sex class + tests