Added locked pair tests for movement in x,y,z and theta directions.