Updated tests.
Reference previously printed strings/arrays/objects to avoid duplication.