sqltest in controller