using the if else flow instead of quick returning when tests are not found