Add misc spec tests

New spec tests in old pull request by ebrdann merged with the current code.