removed dependencies on external db for JUnit testing

resolves #514