fixed several incorrectly written tests