fixed build with latest changes from joliver eventstore, fixed specs related to decorator
adding tests for decorator