changed return tests to a string