Add more testing rules and fix errors for printing extra n