Changed compile function in preparation for fixing commented out unit tests, adjusted usage of tinymce for v4 in tests