Tests speedup

Use multiprocessing in the number of events test to speed it up. Also use _test_file_manager decorator where applicable.