Initial test for APIConnection#validate