Updated test cases moving them into a seperate file, ready for the HTML test cases.