add_test signature incompatible with cmake 2.6

The current usage of `add_test()` in tests/CMakeLists.txt is not backwards compatible with cmake version 2.6.  In particular, `NAME`, `WORKING_DIRECTORY`, and `COMMAND` do not conform to the `add_test()` signature.