added more assertion to engine test