added tests for pgn