added orientation test