fix for unstage in StatusTest
method and tests