implemented test REBASE TODO