remove notification center observer before closing object
I was getting notifications after the managed object context was released
removed some test code