complite class and test