fixed constructor bug; fixed afterEach bug; published