add failing test for refactor