#567 added test