add test for overwriting fields
add longrunning stress tests
small code changes while searching for bug on close()