Add getUsed method
Get used module as entity
Add some tests