refactor tests
add levelup source