Add spec for errors
Add specs for fail + pass