Imroved code formatting, removed trailing whitespaces.
Added basic test configuration