improved validation logic in __init__, and added tests to cover this. Also address comment by jaredgrubb regarding clipped comment