wrote test for straight