some hacky test cleanup