fixed missing corrections in tests, from issues #48 and #49