adding test. turns out it works great