Corrected karma configuration and updated textarea sanity tests.