penalty tests and example