Update API for testing of commands