Use a decorator instead of __init__
Add unittest