add more assertions to edge case test