added test for parseAttributes option