Adding tests for isNew