rename args to definition
fix class constructor test