fixed global objects usage
starting tests