Added test for option --force

Fixed coding style