Fixed errors in the BB Code test cases, they had typos like [/qindent], etc.

Also fixed the error messages when tests fail, they were wrong at some
places.