Add basic tests for checkout out a revision