Create and remove tmp dir before and after test