Revert "adding tests for error formatting of errors class"

This reverts commit 47fbaf67a7afa98ec35a324be04366fffca11882.
Revert "Don't print array literals in error messages"

This reverts commit 4f8b874e3e86425eaaba606f9152f03acdd4da38.
reverting error message related commits which broke build

investigating further

Merge branch 'check_if_revert_fixes_stacks_error'