finish implementing has_finished(), issue #34
add some testscenarios, issue #34