test cases 0-5