Minor changes for testing direction bits