added test, upped version, fixed bug with options