began refactoring the app to use in-memory for testing mode. still contains errors