Fix for compliance with karma version >=0.11