Added tests

Updates to add readscreen and writescreen tests.