fixed fragment char handling
added inherit failure test