Start testing more error conditions.
Test more error conditions.
Use an actual testing library.