small fix and add a failing test