write 90% of feature unit test