datastore: refactor tests.

This splits testing of the request module into its own test module.

Also, adds tests for #260.
isFinalized checks for request.save