add finally for test cleanup