Added tests for completion with base url config
Fix completion if baseUrl set
Added test for reference with baseUrl