Revert "added test case for global object constants"

This reverts commit 1f907035f73be6e5b75fe60095b1e0e29a62a46e.