fix bug in test/cmakelist