storage: add tests for BlockDevicePath

Also, remove state/datastore.go