added wifi test
moved sleep to before tests