Added tests for toString checks