databases/mongodb50: update to 5.0.28 and add do-test
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.28---jul-09--2024
do-test:
The port has had situations in which the code compiled, but the
executables did not work. Try to catch this early with make test.