finished tests

found a couple errors