using deepEqual for testing instead of string. unused example test added