update QA tests to use tokens