Revert "[tests] fix test to use the new way to pass options"

This reverts commit 52ecd52ee5aa78603e44ba8d5ff9187410351622.
Revert "[fix] fixed options and server reference to can access them from passes functions"

This reverts commit 90fb01d38ac5af7ef395547b24e985b6f63b4abc.
Revert "[fix] fixed passes functions, now 'this' can be used and options are stored on 'this.options'"

This reverts commit 9b3e1eb247df29d18ea299ff4ebb2f10eeb71269.
[fix] minor typo