removed JSON conversion in test