Added spy to fix failing theme test in some browsers including Firefox

Tested in Chrome, Firefox, IE11, Opera, Safari