restructured some RAMTests