Added test case: Function args -> function -> checkpoint