Don't attempt to remove node's that have been already been detached
Improve cross browser compatiblity of tests
Add tests for boundarymarkers