fix inclusion of terminating null character in string_prepend
add expect test macros with message
added append/prepend tests