removed db dependency in test