add behavior tests; constant behaviors; bug fixes