refactor crashtest in three subclasses