Revise db/collection access PHP-667 test
Merged pull request #298