Remove unused parametter + add unit test + update to phpunit 4.3