used apache codestyle

*added tests