not sure what discovery-ui2.spec.js is doing?