Add composer.json fixture and update tests.

Signed-off-by: crynobone <crynobone@gmail.com>