fix(test): fix failing tests

Fixed tests to use appPath and removed test folders after each test.