Add is_prefix_of w/tests