Add test for throwing error for blank input