tests written for single quote isolation
refactored utils into separate files