fixed some tests

Changes in css were not present here before...
Also invalid flag must be fixed