Adding back in unit testsgit st

This was in the other pull request (Getting rid of test sh #430), but must have been clobbered some how.    
This is in the wrong scope, shouldn't be in the `for` loop