It refactorized the is_new property in NCObject. Also, it fixed a bug in the tearDown() and improve quality of the unit test (issue #29).