add tests for plain models callback
bugfix the callback behaviors.