finished pixel accessors
added test of pixel accessors