fix tests for phunit