Added test for rank_one
tests