notifications javadoc + some test