testing rotpole implementation