tests for __pairs methods
fix