Cannot static_cast a non const fully declared class,
thus reset is performed in the same fashion than build.

Added the corresponding test, changed the formulation in Kooij, better looking