Update test script.
Use env ruby
Fix include paths
More concise RQ_PORT handling
Use readlink without -f flag
Include version file since main.erb uses the variables