Add API version testing
This should help with issues like Acconut/brackets-nodejs#11