Test entity sprite
minor syntax bug fix