improving algorithm controller coverage
adding missing method
algorithm controller refactoring