Backfill tests for model.js