Add page coordinates and search_loc unit tests