update versions and add testing code