bxml test debugged, working, still needs more testing