Preparing code to be able to be repeated for testing purposes.