adding passing StaticInitTest.

this test ensures that static intializers that should run
on the GPU work properly. we run them on the CPU and copy
static state to the GPU.