Implemented test case for 3 variable multiplication