Updating to latest sdk and fixing issues with headless test runner