api: update tests for hacked up schema