fix undefined properties in assemble tests

Assemble master branch is currently failing its tests due to unguarded property access in this helper.