added simple test case with two subroutines