Run tests both in dev and prod modes