Add .py[cod] to the ignore list
Add some tests