added a bunch of tests, fixed the noncompliant files