Add test for forward search with 'c' flag