tests
flexible, performance tweaks, moar tests