Code testing with GUI