fixed "unit" test