Add snapshot tests, solve small bug with code Font