added andThen test cases