More Tests for FOFView and moving error handling to the platform class