remove composer.lock (library mode) and fix test