continue and continueWith implemented (with proper unit tests)