Fixed string format
Changed methods to staticmethod where possible
Cleanup
Apply list comprehension
Expand test case
Fixed potential error
Remove unnecessary comments
Removed unreachable returns and multiple validation method calls