Update test and finalise karma.conf