added test, fixed minor issue
1.1.3