create fature tests
refactoring