If-else tests were created.