fixed test, added ctest capability
just run ctest from build dir