Upgraded karma and added text code coverage