test with own database