Implemented new behaviors

Also created the behavior test page.