Test the insert block fn
Have jshint look over our test code