Update outdated confirm syntax
Add test configuration and some repository tests