add tests for global scope resolution and decltype