simple tests
simple refactor