Removes some useless info and tests php