Migrated measures to use the FlatSpec testing style