Removed unused variable
SONATA-260 - Added unit tests