add methods for ns managed object
rename tests
fix bug
add unit test for ns managed object context
add some test for managed object