Test for Sql Profiling