corrected controller test to mock getting heuristics