added acceptance tests. #1