Updated debugger and added test voor log function
Added test stubs for handleError method
Finished debugger tests

and start with tests for Context creation
Fixed more tests about saving

async tests fixed
Obtain permanent IDs before saving