Introduced more test to cover invalid data, more tests to be done.