move deprecated method #mock into public methods
Clean up Config settings
remove pending tag
Test generation failure case