Action API passing unit tests