add dummy test
refactor for easy testing