Refactoring and adding extra tests