RK added more test cases such as empty element, also fixed attribute? in parsing.rkt