Add exception when paginate(false|null|'') is called.
Add tests for BehaviorTask.

I forgot to add these earlier.