Add tests for relative paths

Fixes #948
remove space from comment
fix error message
replace raises with assert_raises
Merge pull request #951 from PyBossa/issue-948-relative-paths-tests

Issue 948 relative paths tests