Fixed undefined var notice.

I'm not sure what the preferred default value would be here - I've left it as null for now.  This was causing the Frisby tests to fail, with an undefined key of `duration` (with PHP running in strict mode).