finished time and picture sort junit tests