Fixed mlish_compile and list test code

Test Plan:
<see below>