Add action codes and test codes