Code for SDL testing added