Test Shadow calculatePosition