Added several tests and implemented bljstore further.