fix apt_key.

M
add metadata.json
add tests directory