Added tests and composer.lock.