Added test code to tag inventory and programming.