adding test, already having fixed #4 with previous commit