Fixed testcase, removed print_r