enabled --prefer-dists on composer and lowered git checkout depth
dropped constant, fixed tests