removed blank lines
refactoring the tests