added first simple test, removed debug output