Update test case actually use the custom KryoInjection and move the case classes inside the Spec.