Check the location of your storage.bin when running the datastore emulator. Then use that storage path when running the dev_appserver.py:
dev_appserver.py test.yaml --storage_path=/path/.config/gcloud/emulators/datastore/WEB-INF/appengine-generated/local_db.bin
Also make sure to connect your appserver to the datastore emulator port.