add tests for version and branches