Fixing client-side components events test