added additional testing for find_end.cpp