Unit and acceptance tests