Fixed the errors in previously written tests and added a new test for resolve...