Testing null return from callback