testing for completion