Added unit test for runtime parent for cross_function and for custom cross function