Add tests for instance management
Add _withinSize