Added interactive pin edge event tests to check only the requested events cause pin_edge_event objects to be signalled
Tweaked output sampling time logic to (hopefully) have greater accuracy