Testing code has been updated

Color-thief added as a dependency
Few PHP files has been created for tests