Fixing the perf_test module.

Adding several test cases which all work on the wings cluster.
Adding timing of each query in the perf_test module.