implementing testing