Modifed unit-tests codes to follow `PSR-2' standard.