Tests: update before to beforeEach and modify

Empty out textarea, make sure maxHeight is removed and call plugin
method.
Tests: add case for when max height reached