tests
run valgrind mem check