Make init tests check for directory existence and git repo

Fixes #32.
Fix silly breakage of init tests