added more test cases, coverage is not 67%