Updates test doubles

Updates stubs and mocks so that test suite passes.
Corrects regex in feature branch name gsub so that the hyphen between
project numeric id and feature name is preserved.