Validating Tests With Assertions In Python