Replace karma.configure() by karma.set().

This is not something really critical but configure() method is now deprecated.