add sparse features serialization test
add valgrind target