added linearSystem and tests to lib.components