Try to fix checkstyle config.
Remove obsolete import.
Add test for stage class.
Test for env var class.