Fix broken tests

Fix broken tests, right now I'm manually writing the docs after each
api_call (only within tests), before this 2f64dfe an api_call did a docs writing operation.

2f64dfe meant that you have to manually decide when to write the documents.

Also removed the setup hooks on test_helper_test because it is useless if you instead use rspec.