Work with karma 0.11

per discussion in #15