Fix #13 and #14

When the successful callback is invoked the test failed, because we expect and error callback