Acceptance tests added, fixed rake task