ZF-9009: Refactor Unit-Tests

Description

jQuery Unittests are a mess with lots of code-duplication and such.

Comments

Fixed