cleanup: test environment setup

@kevgo 

Properly set the HEAD which results in it being the auto checked out branch when you first clone.