added searchSpec.js