Moved boolean, fixnum and float options to common.
Added tests for string option.