correct argument extraction
add metadata storage/retrieval integration test