tests: simplify prefix removal from string
Use a simple string slicing to remove the prefix from a string, instead of splitting by an arbitrary substring.
Use a simple string slicing to remove the prefix from a string, instead of splitting by an arbitrary substring.