Fix tests, add readme and license