Inject function to test to write a Test file.
Made a Test file. Unfortunatelly, second test doesn't work properly. Keeps cycling on the same value, like if it was repeatable.