Test written to make sure block is retained on the object