upload test code for running GUI