Maybe it's a little n00b solution and not accurate, but this is how I imagine a simple test:
Writing speed test (writing a 32Mb file to SD card):
# time dd if=/dev/zero of=/mnt/card/testfile count=65536
You get a real time, Divide it by 32 get the reciproc (1/x) and tadaaa. You get a Mb/sec value from it.
The read test is just the same:
# time dd if=/mnt/card/testfile of=/dev/null
Same procedure.
Ohh, and a tip: don't forget to delete the testfile.