added test cases for ties and slurs: encoding with attributes and elements (startid/endid only)
set log level to 4 in test page to avoid too debug log messages