add constants for test code, adjust wait time