another test
reimplement ref counting as step towards reverting to fast filter
remove constants for arena and buffer size
various cleanups