References learning-layers/timeliner#57, small fix for tests.
References learning-layers/timeliner#57, small fix for tests.

It seems that testing env goes not have the global GA object. Added a
check for not disabling that in test scenarios.

learning-layers/timeliner-client,learning-layers/timeliner-client