fixed method naming for test and public API
travis php 5.3.3