scala reflection instancing test