database test and incomplete