Add ram module in CPU and Write unit tests