add optional get method
change class name because JUnit treats nested class which the name ends
with 'Test' as a testcase then the test ends up to be failure.