Use TestEnvironment class and fix naming

Rename test and use TestEnvironment class as a base class for test
in order to use helper methods.

Change-Id: I413e2b5d536201dc59059b1fdc0a0c2c1073cc67