Added skipTests flag handling