Remove extraneous var.
Make search controller test.