metadata + unit tests