Added testing and fixed a potential bug with a bad closure bumped version to v1.0.8