Tests general cleanup

I fixed some misspelled remarks.
I replaced hard-coded status codes with their counterparts from the status model.