unit and acceptance tests for andrews