fix running tests & add composer.lock