create spec for first_reverse function