Adding acceptance tests and adding some missing license headers