update tests; test for undefined as string