Add test to checkNotExist.