next test error for empty