Added tests for various invalid data.