* fixed warning and test compilation