modified small_sample testfile for test, changed getrusage flag for
multithreading