I think we can have 2 unit tests here. another is for error testing.