Update composer file.
Fix a bug that causes tests fail to run.