added tests for escaped dots, cleaned up tests, added documentation