Minor fix and request unit test

Removed superfluous bracket and added some very basic unit testing with midje