fixed unit test by casting from dynamic to string