Mock actor system and add database tests #3