added test for readonly databases not being allowed to share store files