adding simpletest
adding our first tests for the layer class
basic setup for the layer class; properties and JSON serialization