moved tests to the bottom as they are on privates