fix to tomb resize

also included into test script
Cleaner test environment

now available as 'make test'