Fixed result|success must return 'false' if result.state is 'skipped', fixes #8753

Added bug fix and integration tests. This fixes GH-8753 as discussed on the mailing list.