Fix asynchronicity in nav test