Use <current()> in constructor fails

Added a failing test when using <current()> references within constructors.