Rewrite sample spec for challenge 6 using expect syntax