moved testConstants to JSON format