Karma popup was not being triggered