Adds check for correctly commit sha
Adds tests
v0.0.2