fix previous: added a test