[FEATURE] Move issue test to work package spec

Implements [ticket 1754](https://www.openproject.org/issues/1754)