Move pair factory "to" method to Tuples.kt
Move another function to Compatibility
Add more functions and organize/improve tests