Bugfix to avoid division by zero on empty test objects