Preliminary CMakeLists.txt
Added option to specifically enable testing. do "cmake . -DTEST=YES"