Add tests for measures JSON file

At the moment, this file includes comments as pseudocode with some initial thoughts on how the JSON file tests should work.