Fixes #20 - Added DOM testing support