Changed use_ok to require_ok to fix issues with windows