Wrote acceptance tests