added parsing edge case tests