clean up the reference counting idea
make regiongrow test pass
add references to modules
clean up things to remove some errors
add fixtures to make test possible
move to new test arch
adapt tests to new parameter error handling