Test cases added for M4