fixing log levels
adding simple test