add test app to conftest
create tests for doc models
add tests for controllers
fixes for project controllers after tests
helper to get version child from project