added valgirnd tests