unit tests for rooks