Pavtel real db for test in api

see #91 
The name 'element' is not the best one. You have to rememeber later what is it. commonCourt would be much better here.