test controller database test