added quoted str test; removed unused debug code