Add License and tests