Add tests for global log declarations