Refactored unit tests into one scenario and added an external resource for integration tests