BUG: fixed tests
ENH: include tests in CMakeLists.txt