started fleshing out the tests for rags