fixes on expectation chai integration