Test written. Only json to go.