after each test, I check on database if the functions worked correctly.