Fix tests and don't run azure tests during build.