Add unit test for build-depends candidates

Fix multiple packages case.
Fix completion for multi-line field values

Add more unit test for build-depends and no prefix cases.