Validate API examples. Rename files

This feels wrong to me. Shouldn't it be `"../api/examples/.."`? Are the tests run properly?