Add tests for as_of error cases
Fix as_of manager method on class
Add test for FileField

Fixes gh-18.