Added testing method for valid/invalid JobStatus.