Update test shell script to work with stable