slighty modified unit test
implemented xReverse and its x methods