[#1666] fixed Scope regression for unit tests (also honour host and application base)