You have to use following properties while running tests outside NWDS:
java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl java.naming.provider.url={our nw host}:50004