Improved the configurability of the serialtest application