[tests] for issue ##146 and #147, fixing parameters inside __init__