Add tests for UISpecs.