Clean up specs, remove dependency on domWindow service