Updated GpuModelHandler. Added test for GpuModelHandler.