Fix TestBuildEnv

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Fix golint warnings

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>