changing of backdoor and test data, some logic code
adjustment to logic
add empty constructor for passing the tests