Tests are now in their own seperate functions