added some more tests
added some more tests
added some more tests
added tests for convenience deallocate function