test cases extended.