Add tests for uploader

Add tests for uploader and fix issues in default_url usage.
Update tests for user/users_controller (gh #35)
Add/fix tests for books_controller (gh #35)