Added test for release scanner and refactorings