(Test) Foundation tests for wallet written, async tests not working - need to fix