clean up context on build completion & add test

This PR fixes the removal of build context directories from the tmp directory once the build is finished.

It also adds a test to make sure the the context has been properly deleted.
It is not very clear why we return error here. May be just bool? Like 

`return reflect.DeepEqual(e1Entries, e2Entries)`