update cmd state and module integration tests