Restructure wtlib tests
Fix worker tests
Add some wtlib tests