Test triple added and queried successfully