Adapted library and tests for new 2KB payload size