This is supposed to be testing that `m.duration = ...` throws an exception, but the test passes even if it doesn't throw an exception.

Also, you should use assert.strictEquals() to compare if two things are equal.