Updated metadata.json and added spec tests