added acceptance and unit tests