Adding in 'target' property, and (possibly?) fixing some incorrect test syntax.