Add integ test for long prefixes
Fixing two issues with long prefixes
Updated changelog