adding unit and acceptance tests