Changed the test case to use independent variables for testing as some tests were interfering with each other because they are ran async.