The sync version of tmp just for test cases, making it much easier.