fixed all unit tests! obviously this means more are needed