add full-path and reverse-full-path counting tests
Add MySQL compatibility
stop when a matching storage is found