Fix API test.
Fix API tests to pass
Add comment
Add metadata parameter.
Update README to contain test instructions.
Merge branch 'release/3.0.4' into v3