Further work on srtTestQt, which revealed two errors in srt. Added unit tests
to demonstrate the errors.