The DOM API bits are not landed in the platform yet, so you can either remove the modifications to the identity tests or wait for bug 929386 to land