added some selfchecks

Closes #543

I have not tested this yet, but I have tested every self-check on my local PC.
@dswd Can you run the tests on an actual host?