reply and thread endpoints added, made tests more explicit to check for parentmessage

@cheddar made some updates