Fixed syntax in tests.
Added coverage reports.