Adds simulate helper function.
Fixes two invalid calls of toBeUndefined.
Adds mousePosition service.